-- GENERATED SPELL FOR [Dreghood Drudge] --


function spell0_18122(pUnit, Event) --@Shared Bonds,n/a--
pUnit:FullCastSpellOnTarget(34789,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_18122', 666, 1)
end

function Sorts_18122(pUnit, Event)
local choix_sorts_18122 = math.random(0, 0)
if choix_sorts_18122 == 0 then
pUnit:RegisterEvent('spell0_18122', 1, 1)
end
end

function mob18122_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_18122', math.random(1500, 3000), 1)
end

function mob18122_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18122_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18122_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(18122, 1, 'mob18122_Action')
RegisterUnitEvent(18122, 2, 'mob18122_Leave')
RegisterUnitEvent(18122, 3, 'mob18122_Kill')
RegisterUnitEvent(18122, 4, 'mob18122_Die')
